﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="cms_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Login-Admin</title>
    <style type="text/css">
        body
        {
            margin: 0;
            padding-top: 15%;
            padding-bottom: 40px;
            background-color: #f5f6f7;
            color: #888888;
            font-family: Arial,Helvetica,sans-serif;
            font-size: 14px;
            line-height: 20px;
            display: block;
        }
        .container-narrow 
        {
            margin: 0 auto;
            max-width: 400px;
            padding: 0px;      
        }
        #Login .textbox
        {
            padding-left:5px;
        }
        #Login h1
        {
            color:#1f81d5;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="Login" class="container-narrow">
    
        <table style="width: 400px" cellpadding="5" align="center">
            <tr>
                <td colspan="2">
                    <h1>Administrator Manager Tool</h1> 
                </td>
            </tr>
            <tr>
                <td>
                    UserName:
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtUserName" ErrorMessage="*" ForeColor="Red" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                    <asp:TextBox ID="txtUserName" runat="server" Width="200px" CssClass="textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Password:
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtPassword" ErrorMessage="*" ForeColor="Red" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                    <asp:TextBox ID="txtPassword" runat="server" Width="200px" TextMode="Password" CssClass="textbox"></asp:TextBox>
                </td>
                
            </tr>
            <tr>
                <td>
                    
                </td>
                <td>
                    <asp:Button ID="btnLogin" runat="server" Text="Login" 
                        onclick="btnLogin_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="lbError" runat="server" Font-Bold="False" ForeColor="Red"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
